package com.zh.mybatis.domain.student.mapper;

import com.zh.mybatis.domain.student.entity.FamilyAddressEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * @author ZH
 * @date 10:35 2021/9/1
 */
//会动态代理一个mapper实现类
@Mapper
public interface FamilyAddressMapper {

    @Select("SELECT * FROM family_address WHERE id = #{id}")
    FamilyAddressEntity findById(@Param("id") Long id);

}
